<!DOCTYPE html>
<html>

<head>
    <title>annotation_raster: Annotation: high-performance rectangular tiling</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
    <link rel="stylesheet" type="text/css" href="https://rdocumentation.rsharp.net/assets/page.css">
</head>

<body>
    <div class="container">

        <table style="width: 100%;">
            <tr>
                <td>annotation_raster {ggplot2}</td>
                <td style="text-align: right;">R Documentation</td>
            </tr>
        </table>

        <h2>annotation_raster: Annotation: high-performance rectangular tiling</h2>

        <h3>Description</h3>

        <p><br /> This is a special version of geom_raster() optimised for static <br /> annotations that are the same in every panel. These annotations <br /> will not affect scales (i.e. the x and y axes will not grow to cover <br /> the range of the raster, and the raster must already have its own <br /> colours). This is useful for adding bitmap images.</p>

        <h3>Usage</h3>

        <div style="width: 100%; padding-left: 3%; color: black;">
            <pre><code class='language-R' style="color: black; font-weight:normal;"><strong>annotation_raster</strong>(<i>raster</i>);</code></pre>
        </div>

        <h3>Arguments</h3>

        <table>
            
<dt>raster</dt>
<dd><p>raster object to display, may be an array or a nativeRaster</p></dd>

        </table>


        <h3 style="display: none;">Details</h3>

        

        <h3 style="display: block">Authors</h3>

        SMRUCC genomics institute

        <h3>Value</h3>

        this function returns data object of type <i>any</i> kind.<h4>clr value class</h4><ul><li><i>any</i> kind</li></ul>

        <h3 style="display: none;">Examples</h3>

        

        <hr />
        <div style="text-align: center;">[Package <em>ggplot2</em> version 1.0.0.0 <a
                href="../ggplot2.html">Index</a>]
        </div>
    </div>
</body>

<script type="text/javascript" src="https://rdocumentation.rsharp.net/assets/R_syntax.js"></script>
<script type="text/javascript" src="https://rdocumentation.rsharp.net/assets/highlights.js"></script>
<script type="text/javascript">r_highlights("example_r");</script>

</html>